package com.ruoyi.college.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学院信息管理对象 college
 * 
 * @author chenxl
 * @date 2025-04-07
 */
public class College extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String collegeId;

    /**dept_id 部门id*/
    private String deptId;

    /** 学院代码 */
    @Excel(name = "学院代码")
    private String collegeCode;

    /** 学院名称 */
    @Excel(name = "学院名称")
    private String collegeName;

    /** 学院地址 */
    @Excel(name = "学院地址")
    private String collegeAddress;

    /** 学院研究生秘书教师 ID */
    @Excel(name = "学院研究生秘书教师 ID")
    private String secretaryTeacherId;

    /** 院长老师 ID */
    @Excel(name = "院长老师 ID")
    private String deanTeacherId;

    /** 学院成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "学院成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date establishmentDate;

    /** 学院官网网址 */
    @Excel(name = "学院官网网址")
    private String website;

    /** 校区（对应若依字典：campus_type） */
    @Excel(name = "校区", readConverterExp = "对=应若依字典：campus_type")
    private Long campus;

    public void setCollegeId(String collegeId) 
    {
        this.collegeId = collegeId;
    }

    public String getCollegeId() 
    {
        return collegeId;
    }

    public void setCollegeCode(String collegeCode) 
    {
        this.collegeCode = collegeCode;
    }

    public String getCollegeCode() 
    {
        return collegeCode;
    }

    public void setCollegeName(String collegeName) 
    {
        this.collegeName = collegeName;
    }

    public String getCollegeName() 
    {
        return collegeName;
    }

    public void setCollegeAddress(String collegeAddress) 
    {
        this.collegeAddress = collegeAddress;
    }

    public String getCollegeAddress() 
    {
        return collegeAddress;
    }

    public void setSecretaryTeacherId(String secretaryTeacherId)
    {
        this.secretaryTeacherId = secretaryTeacherId;
    }

    public String getSecretaryTeacherId()
    {
        return secretaryTeacherId;
    }

    public void setDeanTeacherId(String deanTeacherId)
    {
        this.deanTeacherId = deanTeacherId;
    }

    public String getDeanTeacherId()
    {
        return deanTeacherId;
    }

    public void setEstablishmentDate(Date establishmentDate) 
    {
        this.establishmentDate = establishmentDate;
    }

    public Date getEstablishmentDate() 
    {
        return establishmentDate;
    }

    public void setWebsite(String website) 
    {
        this.website = website;
    }

    public String getWebsite() 
    {
        return website;
    }

    public void setCampus(Long campus) 
    {
        this.campus = campus;
    }

    public Long getCampus() 
    {
        return campus;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collegeId", getCollegeId())
            .append("collegeCode", getCollegeCode())
            .append("collegeName", getCollegeName())
            .append("collegeAddress", getCollegeAddress())
            .append("secretaryTeacherId", getSecretaryTeacherId())
            .append("deanTeacherId", getDeanTeacherId())
            .append("establishmentDate", getEstablishmentDate())
            .append("website", getWebsite())
            .append("campus", getCampus())
            .toString();
    }
}
